package mark.tom.friend.module;

import dagger.Module;
import dagger.Provides;
import mark.tom.friend.base.ActivityScoped;
import mark.tom.friend.contract.IndexContract;

@Module
public class IndexModule {

    private IndexContract.View mView;

    public IndexModule(IndexContract.View mView) {
        this.mView = mView;
    }

    @Provides @ActivityScoped IndexContract.View provideIndexContractView() {
        return mView;
    }
}
